<script setup>
import RcMenu from '@/components/module/rc-menu.vue'
import { ElNotification } from 'element-plus'

</script>
<template>
  <rc-menu index="1" :needTelescopic="true" :needTooltip="true"
           :is-suspension="true" width="145px"
           :arr="[
             {
               name: '首页',
               icon: 'house',
               index: '1',
               url: '/messageplus/home'
             },
             {
               name: '配置文件',
               icon: 'setup',
               index: '2',
               url: '/messageplus/home/configuration',
             },
             {
               name: '设置',
               icon: 'setting',
               index: '3',
               url: '/messageplus/home/setting',
             },
             {
               name: '内嵌模式',
               icon: 'money',
               index: '4',
               func: ()=>{
                 ElNotification({
                   title: '提示',
                   duration: 2000,
                   dangerouslyUseHTMLString: true,
                   message: '还没有完成哦~~~',
                   type: 'info',
                 });
               }
             }
           ]">
  </rc-menu>
</template>
<style scoped>
</style>